package dao;

import entity.Student;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface StudentDAOI {
    int update(Student stu);

    int delete(int stuno);

    int add(Student stu);

    List<Student> findALL();

    List<Student> search2(@Param("pageNo")int pageNo, @Param("pageSize")int pageSize, @Param("sname")String sname, @Param("qq")String qq, @Param("wechat")String wechat);

    List<Student> search(@Param("pageNo")int pageNo, @Param("pageSize")int pageSize);

    int countNums();


}
